package com.example.study.design.factory;

import com.example.study.service.BluetoothKeyServiceImpl;
import com.example.study.service.KeyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 蓝牙钥匙工厂
 *
 * @author duckquan
 */
@Component
public class BluetoothKeyFactory implements KeyMethodFactory {

    @Autowired
    private BluetoothKeyServiceImpl bluetoothKeyService;

    @Override
    public KeyService getInstance() {
        return bluetoothKeyService;
    }

}
